<!DOCTYPE>
<html>

	<head>
		<title>博文管理</title>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<link type="text/css" href="css/index.css" rel="stylesheet" />
		<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/wangEditor.min.css">

		<script type="text/javascript" src="js/jquery-2.1.3.min.js"></script>
		<script type="text/javascript" src="js/editBlog.js"></script>
		<script type="text/javascript" src="js/bootstrap.min.js"></script>
		<script type="text/javascript" src="js/wangEditor.min.js"></script>
	</head>

	<body style="background:#fff9f3;overflow-y:auto;">

		<div class="nav_top">
			<div class="nav_tcon">
				<div class="logoimg"><img src="./backstage/images/head.jpg" /></div>
				<div class="logotitle">
					<span>博文管理</span>
					<p>BLOG</p>
				</div>
				<div class="logoname" id="logoName">添加</div>
			</div>
		</div>
		<div style="padding-left:100px;padding-right:100px;margin-bottom:60px;margin-top:10px;">
			<form role="form" method="post" id="blogfrom">
				<input type="hidden" id="blogid" name="id">
				<div class="form-group">
					<label for="name">题目</label>
					<input type="text" class="form-control" id="title" name="title" placeholder="请输入题目">
				</div>
				<div class="form-group">
					<label for="name">作者</label>
					<input type="text" class="form-control" id="author" name="author" placeholder="请输入作者">
				</div>
				<div class="form-group">
					<label for="name">种类</label>
					<input type="text" class="form-control" id="kind" name="kind" placeholder="请输入种类">
				</div>
				<div class="form-group">
					<label for="name">正文</label>
					<textarea class="form-control" rows="15" id="form-content" name="mainText" placeholder="请输入正文">
    <p>请输入内容...</p>
    </textarea>
				</div>
				<input type="button" id="add_btn" class="btn btn-primary btn-block" value="添加" style="display: none;">
				<input type="button" id="save_btn" class="btn btn-primary btn-block" value="保存" style="display: none;">
			</form>
			<!--这里引用jquery和wangEditor.js-->
			<script type="text/javascript">
				// 获取元素
				var textarea = document.getElementById('form-content');
				// 生成编辑器
				var editor = new wangEditor(textarea);
				// 取消粘贴过滤
				//editor.config.pasteFilter = false;
				editor.config.uploadImgUrl = 'dealBlog_fileUpLoad.action';
				editor.config.uploadImgFileName = 'upLoadImg'
				editor.create();
			</script>
			<script type="text/javascript">
				var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
				document.write(unescape("%3Cspan id='cnzz_stat_icon_1262286315'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1262286315%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));
			</script>
		</div>
	</body>

</html>